<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
                template="../template/template.xhtml"
                xmlns:h="http://java.sun.com/jsf/html" 
                xmlns:p="http://primefaces.org/ui"
                xmlns:f="http://xmlns.jcp.org/jsf/core">
    <ui:define name="corpo">
        <div class="page-header">
            <h1><small>Financeiro - Acesso externo de fatura</small></h1>
        </div>
        <h:form>
            <f:metadata>         
                <f:viewParam name="md5" value="#{controllerFatura.md5}"/>
            </f:metadata>
            <div style="margin: 10px 0 0 15px;" >
                Sua fatura foi criada, para visualizá-la clique no botão abaixo <br/><br/>
                <h:commandLink styleClass="btn btn-default" actionListener="#{controllerFatura.carregarFatura()}" value="GERE AQUI"/>
                o arquivo PDF.
            </div>
        </h:form>       
    </ui:define>
</ui:composition>